package cn.kaguyaever.service;

import cn.kaguyaever.entity.Judge;

import java.util.List;

public interface JudgeService {

    public void createJudge(Judge judge);

    public Judge judgeLogin(Judge judge);

    public boolean judgeStatus(Integer judgeId);

    public List<Judge> queryJudge(String projectId);

    public boolean existJudge(String name,String projectId);

    public void setStatus(Integer judgeId);

    public void clearStatus(String projectId);

    public void votedJudge(Integer judgeId);

    public void deleteJudge(Integer judgeId);

    public void deleteAllJudge(String projectId);
}
